<script setup lang="ts">
/**
 * @name IndicatorTreeDiagram
 * @description 用能单元管理/指标管理
 */
import ViewManage from './components/ViewManage/ViewManage.vue'
import ViewTree from './components/ViewTree/ViewTree.vue'

const [show, setShow] = useState(true)
</script>

<template>
  <div
    class="padding-sm align-center relative box-border flex gap-sm container"
    style="user-select: text;"
  >
    <ViewTree v-show="show" />
    <ViewManage @toggle-show-tree="(e: boolean) => setShow(e)" />
  </div>
</template>
